package lab02.test07;

public class Student  extends Person{

    private  String studentId;
    private  String school;

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return getName()+"."+getAge()+"."+getIdNumber()+"."+studentId+"."+school;
    }
}
